package com.iwuke.dance.wallet.mind_value.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.iwuke.dance.R;
import com.iwuke.dance.util.GlideUtil;

import java.util.List;

import androidx.annotation.NonNull;

/**
 * @author: 魏从响
 * @date: 2025/9/25
 */
public class LevelAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    private final Context context;

    public LevelAdapter(Context context, int adapterItemLevel, List<String> list) {
        super(adapterItemLevel, list);
        this.context = context;
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, String s) {
        ImageView img_head = baseViewHolder.findView(R.id.img_head);

        GlideUtil.setImageView(context,R.mipmap.img_level_head,img_head);

    }
}
